import request from '@/utils/request'

export function insert(data) {
    return request({
        url: '/api/server/summaryInfo/insert',
        method: 'post',
        data: data
    })
}

export function queryByPage(data) {
    return request({
        url: '/api/server/summaryInfo/queryByPage',
        method: 'post',
        data: data
    })
}

export function deleteById(params) {
    return request({
        url: '/api/server/summaryInfo/deleteById',
        method: 'get',
        params: params
    })
}

export function queryById(uid) {
    return request({
        url: '/api/server/summaryInfo/queryById',
        method: 'get',
        params: {uid:uid}
    })
}

export function update(data) {
    return request({
        url: '/api/server/summaryInfo/update',
        method: 'post',
        data: data
    })
}

